function Enviroment(){
	this.isApp = false;
	var userAgent = window.navigator.userAgent;
	if(userAgent.indexOf('html5plus') > -1){
		this.isApp = true;
	}
	this.isLoading = function(){
		var loading = localStorage.getItem('loading');
		if(loading == '1'){
			return true;
		}
		return false;
	}
}

var env = new Enviroment();